<?php
namespace App\Admin\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 车辆分类配置Dto （导入导出）
 */
#[ExcelData]
class CarCategoryDto implements MineModelExcel
{
    #[ExcelProperty(value: "id", index: 0)]
    public string $id;

    #[ExcelProperty(value: "名称", index: 1)]
    public string $name;

    #[ExcelProperty(value: "ICON", index: 2)]
    public string $icon;

    #[ExcelProperty(value: "权重(越大越靠前)", index: 3)]
    public string $weight;

    #[ExcelProperty(value: "创建时间", index: 4)]
    public string $created_at;

    #[ExcelProperty(value: "更新时间", index: 5)]
    public string $updated_at;


}